package com.hhit.bigscreenbackmanage.dao.aqgl;

import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglRb;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AqglRbDao {

    /**
     * @Description: 批量插入 基建“e 安全”应用每日数据统计
     * @Author: qianchengcheng 
     * @Date: 2021/7/23 14:03
     * @Param: [tAqglRbList] 
     * @Return: int
     **/
    int batchInsertAqglRb(@Param("list") List<TAqglRb> tAqglRbList) throws Exception;

    /**
     * @Description:
     * @Author: qianchengcheng 
     * @Date:  14:10
     * @Param: [aqglSearchVo] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglRb>
     **/
    List<TAqglRb> geTAqglRbPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

    /**
     * @Description: 根据datetime获取数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 17:49
     * @Param: [datetime] 
     * @Return: java.util.List<java.lang.String>
     **/
    List<String> getAqglRbByDateTime(@Param("datetime") String datetime) throws Exception;

    /**
     * @Description: 根据主键编号批量删除数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 17:55
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteAqglRbByIds(@Param("ids") List<String> ids) throws Exception;

    /**
     * @Description: 根据地市编号获取在建工程数
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 18:48
     * @Param: [cityName] 
     * @Return: java.util.Map
     **/
    Long getInBuildingProjectNum(Map<String,Object> param) throws Exception;

}
